package org.gw.building.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by qwx89 on 2017/8/12.
 */
@Data
@NoArgsConstructor
@Entity
@Table(name = "T_TQTJ_TQTJKZ")
@AllArgsConstructor
@Builder
public class Tqtjkz {
    @Id
    @GeneratedValue(generator = "uuid")
    @GenericGenerator(name = "uuid", strategy = "uuid")
    private String id;

    private String kzmc;

    private String kzrq;

    private String kzr;

    private Date kzsj = new Date();
}
